package com.ruoyi.system.api.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@ApiModel(value="SchoolConsumeReq对象", description="耗课信息入参")
@Accessors(chain = true)
public class SchoolConsumeReq extends BaseQuery implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "所属校区")
    private Long schoolId;

    @ApiModelProperty(value = "所属班级")
    private Long classesId;

    @ApiModelProperty(value = "学生ID")
    private Long studentId;

    @ApiModelProperty(value = "耗课金额")
    private BigDecimal consumeAmount;

    @ApiModelProperty(value = "操作老师ID")
    private Long teacherId;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    private String phone;
    private String appId;

    private List<Long> students;
}
